<template>
  <div class="home">
        <span @click="$router.push({path:'/user/user',query:{id:'123'}})">去用户页带参数123</span>
    <nuxt-link to="/user/user">去用户页</nuxt-link>
   </div>
</template>

<script>
export default {
  components: {
  },
  data () {
    return {
      title: '首页'
    }
  },
  head () {
    return {
      title: this.title,
      meta: [
        { hid: 'description', name: 'description', content: 'My custom description' }
      ]
    }
  }
}
</script>

<style scoped lang="less">
 .home{
   /*background: red;*/
   span{
     /*font-size: 30px;*/
   }
 }
</style>
